package com.activititest;

import org.activiti.spring.boot.SecurityAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;


//,scanBasePackages= {"com.activititest.config","com.activititest.service","com.activititest.controller"}
//@EnableAutoConfiguration(scanBasePackages= {"com.activititest.config","com.activititest.service","com.activititest.controller"})
@MapperScan("com.activititest.mapper")
@ComponentScans({
        @ComponentScan("com.activititest.config"),
        @ComponentScan("com.activititest.*"),
        @ComponentScan("com.activititest.service"),
        @ComponentScan("com.activititest.controller")

})
@SpringBootApplication(exclude = SecurityAutoConfiguration.class)
public class ActivititestApplication {

    public static void main(String[] args) {
        SpringApplication.run(ActivititestApplication.class, args);
    }

}
